package flex.cc.uac.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class ElementTreeVo implements Serializable {
    private static final long serialVersionUID = 5114758298592731556L;

    @ApiModelProperty("菜单编号")
    private Long id;

    @ApiModelProperty("父id")
    private Long pid;

    @ApiModelProperty("菜单编码")
    private String menuCode;

    @ApiModelProperty("菜单名称")
    private String label;

    private List<MenuVo> children;

    private boolean isLeaf = true;

}
